

function showKecheng(id) {

	if (document.getElementById("info" + id) != null) {
		$("#info" + id).remove();
	} else {
		$.post("/ICSS/coreCourse", {
					action : "showKecheng",
					courseID : id
				}, function(data) {
			
					var div = document.createElement("div");
					div.id = "info" + id;
					div.innerHTML = "<div class='courseRemark'><span style='color: maroon'>简介：</span>"
							+ data.courseRemark
							+ "</div><div class='showBody2'><span style='color: maroon'>详细介绍：</span>"
							+ data.courseIntro
							+ "</div>"
							+ "<div align='right'><a href='javascript:showKecheng("
							+ id + ")'>↑收起全文↑<a></div>";
					$("#title" + id).after(div);
				},'json');
	}

}
